package com.yfqy.admin.domain.dto.promotion;

import lombok.Data;

import java.math.BigDecimal;

/**
 * 促销活动配置
 */
@Data
public class PromotionConfDTO {

    // 规则类型:1-满减 2-折扣 3-秒杀价 4-拼团
    private Byte ruleType;

    // 满减门槛金额
    private BigDecimal fullAmount;

    // 满减优惠金额
    private BigDecimal reduceAmount;

    // 拼团人数要求
    private Integer groupSize;

    // 折扣/秒杀/拼团
    private BigDecimal promotionPrice;

    // 折扣率1~9
    private Integer discount;
}
